Returns a new Sprite object and places its Image within the SpriteSurface at the coordinates passed.
Syntax |
|---|
|
result = SpriteSurface.NewSprite( Image, X, Y ) |
Parameters |
|
|---|---|
|
Image |
|
|
X |
|
|
Y |
Integer) |
Return Value |
|
|---|---|
|
Result |
|
SpriteSurface.NewSprite Function